package com.ss3;

/**
 * @Auther: 520ljs
 * @Date: 2022/3/11 - 03 - 11 - 18:09
 */
public class Boy {
    //属性：
    int age;
    String name;
    //方法:
    public void buy(){
        System.out.println("跟我谈恋爱，我给你买买买");
    }
    //构造器：

    public Boy(int age, String name) {
        this.age = age;
        this.name = name;
    }
}
